﻿#region Copyright Info

// 
// Majesty of Omega - The next evolution of macro management space strategy
// 
// Copyright 2007-2009 André Claaßen
// 
// This file is protected by the terms and conditions of the
// Microsoft Community License (Ms-CL 1.1), a copy of which should
// have been distributed along with this software. If not,
// you may find the license information at the following URL:
// 
// http://www.microsoft.com/resources/sharedsource/licensingbasics/communitylicense.mspx

#endregion

#region

using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;

#endregion

#if never

namespace Majesty_of_Omega.Config
{
    /// <remarks/>
    [GeneratedCode("xsd", "2.0.50727.312")]
    [Serializable]
    [DebuggerStepThrough]
    [DesignerCategory("code")]
    [XmlType(AnonymousType = true, Namespace = "http://majesty-of-omega/ResearchConfiguration.xsd")]
    [XmlRoot(Namespace = "http://majesty-of-omega/ResearchConfiguration.xsd", IsNullable = false)]
    public class ResearchConfiguration
    {
        /// <remarks/>
        [XmlArrayItem("Funding", IsNullable = false)]
        public ResearchConfigurationFunding[] FundingLevels { get; set; }

        /// <remarks/>
        [XmlArrayItem("ProjOverEntry", IsNullable = false)]
        public ResearchConfigurationProjOverEntry[] ProjectOverrun { get; set; }

        /// <remarks/>
        [XmlArrayItem("OverAmountEntry", IsNullable = false)]
        public ResearchConfigurationOverAmountEntry[] OverrunAmount { get; set; }

        /// <remarks/>
        public ResearchConfigurationResearchDefaults ResearchDefaults { get; set; }
    }

    /// <remarks/>
    [GeneratedCode("xsd", "2.0.50727.312")]
    [Serializable]
    [DebuggerStepThrough]
    [DesignerCategory("code")]
    [XmlType(AnonymousType = true, Namespace = "http://majesty-of-omega/ResearchConfiguration.xsd")]
    public class ResearchConfigurationFunding
    {
        /// <remarks/>
        [XmlAttribute]
        public string Id { get; set; }

        /// <remarks/>
        [XmlAttribute]
        public string Unicode { get; set; }

        /// <remarks/>
        [XmlAttribute]
        public byte Percentage { get; set; }
    }

    /// <remarks/>
    [GeneratedCode("xsd", "2.0.50727.312")]
    [Serializable]
    [DebuggerStepThrough]
    [DesignerCategory("code")]
    [XmlType(AnonymousType = true, Namespace = "http://majesty-of-omega/ResearchConfiguration.xsd")]
    public class ResearchConfigurationProjOverEntry
    {
        /// <remarks/>
        [XmlAttribute]
        public byte Percentage { get; set; }

        /// <remarks/>
        [XmlAttribute]
        public decimal ChancePercent { get; set; }
    }

    /// <remarks/>
    [GeneratedCode("xsd", "2.0.50727.312")]
    [Serializable]
    [DebuggerStepThrough]
    [DesignerCategory("code")]
    [XmlType(AnonymousType = true, Namespace = "http://majesty-of-omega/ResearchConfiguration.xsd")]
    public class ResearchConfigurationOverAmountEntry
    {
        /// <remarks/>
        [XmlAttribute]
        public byte Percentage { get; set; }

        /// <remarks/>
        [XmlAttribute]
        public byte StartPercent { get; set; }

        /// <remarks/>
        [XmlAttribute]
        public byte EndPercent { get; set; }
    }

    /// <remarks/>
    [GeneratedCode("xsd", "2.0.50727.312")]
    [Serializable]
    [DebuggerStepThrough]
    [DesignerCategory("code")]
    [XmlType(AnonymousType = true, Namespace = "http://majesty-of-omega/ResearchConfiguration.xsd")]
    public class ResearchConfigurationResearchDefaults
    {
        /// <remarks/>
        public decimal PrimaryFieldCost { get; set; }

        /// <remarks/>
        public decimal SecondaryFieldCost { get; set; }

        /// <remarks/>
        public decimal PercentagePerTurnMin { get; set; }

        /// <remarks/>
        public decimal PercentagePerTurnMax { get; set; }

        /// <remarks/>
        public byte PercentForFundamental { get; set; }
    }
}

#endif
